package com.elrichuang.userserver.domain.bo;

import com.elrichuang.userserver.enums.CandidateStatusEnum;
import com.elrichuang.userserver.enums.StatusLogPhaseEnum;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * EHR求职者添加对象
 *
 * @author elric
 * @date 2022-03-07
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class CandidateStatusLogAddBo {

	/** 求职者ID **/
	@NotNull(message = "求职者ID")
	private Long candidateId;

	/** 面试ID **/
	@NotNull(message = "面试ID")
	private Long interviewId;

	@NotNull(message = "求职者状态")
	private CandidateStatusEnum candidateStatus;

	@NotNull(message = "阶段")
	private StatusLogPhaseEnum phase;

	@NotNull(message = "阶段ID")
	private Long phaseId;

	/** 备注 */
	@NotBlank(message = "备注")
	private String remarks;
}
